package de.schmidke.palmreader;

import java.io.IOException;

public class CategoryEntry extends Readable {

	private int catIndex;
	private int catID;
	private int dirtyFlag;
	private String longName;
	private String shortName;

	public CategoryEntry() {
	}

	@Override
	protected void load() throws IOException {
		catIndex = readInt();
		catID = readInt();
		dirtyFlag = readInt();
		longName = readString();
		shortName = readString();
	}

	public int getCatIndex() {
		return catIndex;
	}

	public int getCatID() {
		return catID;
	}

	public int getDirtyFlag() {
		return dirtyFlag;
	}

	public String getLongName() {
		return longName;
	}

	public String getShortName() {
		return shortName;
	}

}
